/**
 * Created by 二更 on 2017/3/13.
 */
$(function(){
    $('.mask_layer').height(document.body.scrollHeight+30);
    $('.affirm_submit').bind("tap",function(){
        $('.modal_box').css('display','block');
        $(document.body).css({
            "overflow-x":"hidden",
            "overflow-y":"hidden"
        });
    });
    $('.close').bind("tap",function(){
        $('.modal_box').css('display','none');
        $(document.body).css({
            "overflow-x":"auto",
            "overflow-y":"auto"
        });
    })
});